package edu.hwadee.BEIS.repository;

import edu.hwadee.BEIS.entity.SchoolBasicInfor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import edu.hwadee.BEIS.entity.TeacherBasicSituation;

public interface TeacherBasicSituationRepository extends JpaRepository<TeacherBasicSituation, Integer>{
    Page<TeacherBasicSituation> findBySchoolBasicOrderByModifyTimeDesc(Pageable page, SchoolBasicInfor school);
    Page<TeacherBasicSituation> findAll(Pageable page);
}
